package com.jtmg.glorykingsnews.service;

import com.github.pagehelper.PageInfo;
import com.jtmg.glorykingsnews.domain.TbGoods;
import com.jtmg.glorykingsnews.vo.commom.MsgVo;
import com.jtmg.glorykingsnews.vo.goods.GoodsAddVo;
import com.jtmg.glorykingsnews.vo.goods.GoodsQuery;

public interface TbGoodsService{

    PageInfo<TbGoods> queryGoodsByName(GoodsQuery query);

    MsgVo<TbGoods> queryGoodsByParentId(GoodsQuery query);

    MsgVo addGoods(GoodsAddVo vo);

    MsgVo deleteGoods(int id);

}
